]> dgit.raspbian.org Git - gnome-shell.git/commit
appDisplay: Special-case dropping over page indicators
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Wed, 29 Jun 2022 17:25:47 +0000 (14:25 -0300)
committerMarge Bot <marge-bot@gnome.org>
Wed, 10 Aug 2022 15:16:36 +0000 (15:16 +0000)
commit8f247971eb47e153df896ee173fa148c8b48d411
treec6e5047543e6932980490488b5b6d7c26693f9d2
parent09b975fabf8e05ca2c777a498364672701808dcc
appDisplay: Special-case dropping over page indicators

This brings back the ability to drop an icon beyong the last page.
Because the acceptDrop() method does not have access to the target
drop actor, to avoid an extra pick or manually calculating it from
allocations, simply store it during DragMonitor.dragDrop(), and
use the target actor in acceptDrop().

This commit also removes the last usage of SidePages, so drop the
enum too.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2335>
js/ui/appDisplay.js